createRegistrar

abstract fun <T> createRegistrar(namespace: String, registry: Registry<T>): Registrar<T>

Creates a Registrar wrapper for registering objects in a platform-agnostic way.

See the Wiki for more details and examples.

Return

Registrar platform-agnostic wrapper that registers objects

Author

fzzyhmstrs

Since

0.5.9, no longer experimental 0.7.0

Parameters

namespace

String namespace to register objects under

registry

Registry registry to wrap